﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
		<meta charset="utf-8">
		<meta name="author" content="chy">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--手机头部-->
		<meta http-equiv="X-UA-Compatible" content="IE=8">
		<meta http-equiv="Cache-Control" content="max-age=0" />
		<meta name="MobileOptimized" content="240"/>
		<meta name="apple-touch-fullscreen" content="YES" />
		<meta content="yes" name="apple-mobile-web-app-capable" />
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui" />
		<meta content="black" name="apple-mobile-web-app-status-bar-style" />
		<meta content="telephone=no" name="format-detection" />
		<title>创客空间</title>
		<meta name="robots" content="all"/>
		<link rel="shortcut icon" href="${baseContext}/favicon.ico" />
		<link rel="stylesheet" type="text/css" href="${baseContext}css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="${baseContext}css/css.css"/>
		<link rel="stylesheet" type="text/css" href="${baseContext}css/slide.css"/>
		<link rel="stylesheet" type="text/css" href="${baseContext}css/base.css"/>
	</head>
	<body>
		<!-- 头部 -->
		<div class="header">
			<%@ include file="header.jsp" %>
		</div><!-- 头部 end -->
		
		<div class="main ckkj">
			<!-- 共创未来 -->
			<div class="chuangke">
				<img src="${baseContext}images/ckkj.png" alt="" />
				<!-- <img src="${news.picurl}" alt="" onerror="javascript:this.src='${baseContext}images/ckkj.png'" /> -->
			</div><!-- 共创未来 end -->
			
			<!-- 创客空间 -->
			<div class="content">
				<div class="title">
					<img src="${baseContext}images/icon2.png" alt="" />
					<span>创客之家</span>
				</div>
				<a class="moreplace" href="${baseContext}channel/10.html">更多创客之家>></a>
				<ul class="place">
					<s:if test="newArticleMaker.size()==0">
						<li class="place_list">
							<a href="" class="img">暂无数据</a>
						</li>
					</s:if>
					<s:else>
						<s:iterator id="part" value="newArticleMaker" status="news">
							<li class="place_list">
							<a href="${baseContext}article/${id}.html" class="img">
								<img src="${picurl}" onerror="javascript:this.src='${baseContext}images/ckkj_3.png'"/>
							</a>
							<div>
								<s:if test="title.length()>15" >
									<a class="tit" href="#"><s:property value="@org.util.string.StringUtils@subHtmlAndOther(title,15,'>>')"></s:property></a>
								</s:if>
								<s:else>
									<a class="tit" href="#">${title}</a>
								</s:else>
								<p>${description}</p>
							</div>
							</li>
						</s:iterator>
					</s:else>
				</ul>
			</div><!-- 创客空间 end -->
			
		</div>
		
	<%@ include file="footer.jsp" %>
	</body>
</html>


